class CreateVersions < ActiveRecord::Migration
  def change
    create_table :versions do |t|
      t.string :version
      t.integer :crash_rate
      t.datetime :released_date
      t.integer :dev_id
      t.references :app, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end
